<?php 
//if(isset($_GET["pop"]) && $_GET["pop"] == "bazinga") echo "alert('es pop-up');"; 
?>
$( "input:button").button();
$("#divMensajes").ajaxStart(function(){
    $('#dialog-modal').dialog('open');
});
$("#divMensajes").ajaxStop(function(){
    $('#dialog-modal').dialog('close');
});
$( "#dialog-modal" ).dialog({
    autoOpen: false,
        height: 140,
         height: 80,
         closeText: false,
         dialogClass: 'no-close',
         hide: 'explode',
         position: 'top',
        modal: true
});
                